/**
 * Copyright (c) 2012-2018 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
.windowFrame {
    display: inline-block;
    background: windowContentBackground;
    border: 1px solid windowSeparatorColor;
    -moz-box-shadow: 0 2px 4px 0px windowShadowColor;
    -webkit-box-shadow: 0 2px 4px 0px windowShadowColor;
    box-shadow: 0 2px 4px 0px windowShadowColor;
    outline: none;
}

.windowFrame:focus {
    outline: none;
}

.windowFrameTitleBar {
    background: windowHeaderBackground;
    border-bottom: 1px solid windowHeaderBorderColor;
    height: 26px;
    width: 100%;
    padding: 0px 16px 0px 12px;
    user-select: none;
    cursor: default;
}

.windowFrameTitle {
    cursor: default;
    font-family: mainFontFamily;
    font-size: windowTitleFontSize;
    color: windowTitleFontColor;
    margin-top: 3pt;
    font-weight: normal;
}

.windowFrameCloseButton {
    position: absolute;
    right: 10px;
    top: 7px;
    line-height: 22px;
    padding: 0px 0px 0px 5px;
    cursor: pointer;
    fill: windowTitleFontColor;
    width: 10px;
    height: 10px;
}

.windowFrameCloseButton:hover {
    filter: brightness(130%);
    -webkit-filter: brightness(130%);
}

.windowFrameBody {
    padding: 8px;
}

.windowFrameButtonBar {
    background: windowFooterBackground;
    border-top: 1px solid windowFooterBorderColor;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 16px;
    width: 100%;
    user-select: none;
    float: left;
    height: 33px;
}

.windowFrameFooterButton, .windowFrameFooterButtonPrimary {
    height: buttonHeight;
    line-height: buttonLineHeight;
    min-width: buttonMinWidth;
    padding: 0px buttonPadding;
    outline: none;
    font-size: buttonFontSize;
    font-family: mainFontFamily;
    margin-left: buttonSideSpacing;
    margin-right: buttonSideSpacing;
    margin: 5px 16px 0px 16px;
}

.windowFrameFooterButton {
    background: buttonBackground;
    border: 1px solid buttonBorderColor;
    color: buttonFontColor;
}

.windowFrameFooterButton:hover,
.windowFrameFooterButton:focus {
    background: buttonHoverBackground;
    color: buttonHoverFontColor;
    border: 1px solid buttonHoverBorderColor;
}

.windowFrameFooterButton:active {
    background: buttonClickedBackground;
    border: 1px solid buttonClickedBorderColor;
    color: buttonClickedFontColor;
    outline: none;
}

.windowFrameFooterButton[disabled], .windowFrameFooterButton[disabled]:HOVER {
    background: buttonDisabledBackground;
    border: 1px solid buttonDisabledBorderColor;
    box-shadow: none;
    color: buttonDisabledFontColor;
}

.windowFrameFooterButton[disabled] svg, .windowFrameFooterButton[disabled]:HOVER svg {
    opacity: 0.5;
}

.windowFrameFooterButtonLeft {
    float: left;
}

.windowFrameFooterButtonRight {
    float: right;
}

.windowFrameFooterButtonPrimary {
    background: primaryButtonBackground;
    color: primaryButtonFontColor;
}

.windowFrameFooterButtonPrimary:hover,
.windowFrameFooterButtonPrimary:focus {
    background-color: primaryButtonHoverBackground;
    color: primaryButtonHoverFontColor;
}

.windowFrameFooterButtonPrimary:active {
    background-color: primaryButtonClickedBackground;
    color: primaryButtonFontClickedColor;
}

.windowFrameFooterButtonPrimary[disabled], .windowFrameFooterButtonPrimary[disabled]:HOVER {
    background: primaryButtonDisabledBackground;
    color: primaryButtonDisabledFontColor;
}
